2005-08-27 Matthias Clasen <mclasen@redhat.com>
* gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
when G_MAXLONG is passed as length.
+2005-08-27 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
+ when G_MAXLONG is passed as length.
+
2005-08-26 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c: Add a separate --ignore-theme-index option
+2005-08-27 Matthias Clasen <mclasen@redhat.com>
+
+ * gdk/x11/gdkproperty-x11.c (gdk_property_get): Don't warn
+ when G_MAXLONG is passed as length.
+
2005-08-26 Matthias Clasen <mclasen@redhat.com>
* gtk/updateiconcache.c: Add a separate --ignore-theme-index option
*/
get_length = length + 3;
if (get_length > G_MAXLONG)
- {
- g_warning ("gdk_property_get(): length value has wrapped in calculation "
- "(did you pass G_MAXLONG?)");
- get_length = G_MAXLONG;
- }
+ get_length = G_MAXLONG;
+
/* To fail, either the user passed 0 or G_MAXULONG */
get_length = get_length / 4;
if (get_length == 0)